﻿<BadHabit_WPFTools:ShapedWindow x:Class="BadHabit.Factory.Views.About"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:BadHabit_WPFTools="clr-namespace:BadHabit.WPFTools;assembly=BadHabit.WPFTools"        
                                
    xmlns:props="clr-namespace:BadHabit.Factory.Windows.Properties"                                
                                
    Title="{x:Static props:Resources.About_The_Scrum_Factory}"
                    
    Width="400"
    Height="230"
    
    Style="{StaticResource DialogWindow}"
                                    
    Topmost="True"
    
    WindowStartupLocation="CenterOwner"
    
    Loaded="ShapedWindow_Loaded"
                                
    SnapsToDevicePixels="True">
    <Grid>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="auto"/>
            <ColumnDefinition Width="300"/>
        </Grid.ColumnDefinitions>
        <Image
            Grid.Column="0"
            Margin="5"
            VerticalAlignment="Top"
            Width="65" Height="61" Stretch="Uniform"
            Source="/Images/logo.png" />
        <StackPanel
            Grid.Column="1">
            <TextBlock Margin="5" FontSize="20" Foreground="{StaticResource DarkTextBrush}">The Scrum Factory</TextBlock>
            <TextBlock Margin="5,0,0,0" FontSize="14" Foreground="{StaticResource DarkTextBrush}" Text="{x:Static props:Resources.Client_Application}"/>
            <TextBlock x:Name="clientVersionTextBox" Margin="5,0,0,0" />
            <TextBlock Margin="5,20,0,0" >BadHabit Software</TextBlock>
            <TextBlock Margin="5,20,0,10" TextWrapping="Wrap" >
                <TextBlock Text="{x:Static props:Resources.Check}"/>
                <Hyperlink RequestNavigate="Hyperlink_RequestNavigate" NavigateUri="http://www.scrum-factory.com">www.scrum-factory.com</Hyperlink>
                <TextBlock Text="{x:Static props:Resources.for_product_updates}"/>                
            </TextBlock>
        </StackPanel>
        
    </Grid>
</BadHabit_WPFTools:ShapedWindow>
